package com.ws.admin.donate.service;

import com.ws.admin.donate.entity.Donate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ws.system.user.entity.SystemUser;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 捐赠信息表 服务类
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-22
 */
public interface IDonateService extends IService<Donate> {

    Page<Donate> list(Donate donate, Integer current, Integer size);

    Boolean save(Donate donate, SystemUser loginUser);

    Donate readByMap(HashMap hashMap);

    Page<Donate>  listRank(Donate donate,Integer current, Integer size);
}
